package com.example.demo.dto;

import com.example.demo.entity.Author;
import com.example.demo.entity.Poetry;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PoetryListDTO {

    private Author author;
    private List<Poetry> list;

}
